Method and apparatus for determining the 3d coordinates of an object

ABSTRACT

In a method for determining the 3D coordinates of an object a pattern ( 6 ) is projected onto the object ( 1 ) by a projector ( 3 ), the light reflected by the object ( 1 ) is captured by a camera ( 4 ), and the shots recorded by the camera ( 4 ) are evaluated. Reference marks ( 8 ) on and/or beside the object ( 1 ) are recorded by a reference camera ( 5 ). The reference camera ( 5 ) has a larger field of view ( 9 ) than the camera ( 4 ). To improve such method, the reference camera ( 5 ) is connected with the camera ( 4 ) or with a 3D sensor ( 2 ) which comprises the projector ( 3 ) and the camera ( 4 ).

BACKGROUND OF THE INVENTION

This invention relates to a method for determining the 3D coordinates of an object and to an apparatus for carrying out such method.

In the method, a pattern is projected onto the object. The light reflected by the object is captured and evaluated. The apparatus for carrying out such method comprises a projector for projecting a pattern onto the object, a camera for recording the object, and an evaluating means for evaluating the shots recorded.

Methods and apparatuses of this kind are known already, for example from DE 10 2006 048 234 A1 and DE 10 2007 042 963 A1. In these methods, a stripe pattern can be projected onto the object. Usually, the stripe pattern is projected onto the object by the method of white-light stripe projection, i.e. with white light.

As for determining the 3D coordinates of the object a single shot generally is not sufficient to satisfy the measurement requirements and/or to completely cover the object, it is required to position the pattern projection system at various recording positions in the space and to transfer the shots made there into a common, superordinate coordinate system, which can also be referred to as absolute coordinate system. This process frequently referred to as “global registration” requires a high accuracy.

In a previously known method of this kind shots are made which partly overlap. These shots can be oriented to each other via an optimization of the overlap regions. However, with larger objects with little surface structure, the method possibly is not sufficiently accurate.

Furthermore, there are known methods in which reference marks are used, which are mounted on and/or beside the object and/or on one or more of the set-ups surrounding the object. The reference marks initially are calibrated. Preferably, this is effected by the method of photogrammetry. By means of the reference marks, which are detected by a pattern projection system, in particular a stripe projection system, the various shots of the object can be transformed onto the calibrated points, so that a global registration is possible.

From EP 2 273 229 A1 a method is known, in which for determining the 3D coordinates of an object a stripe pattern is projected onto the object by a projector. The stripe pattern reflected by the object is recorded by a camera which comprises an optical system and an area sensor, in particular a CCD sensor or CMOS sensor. The projector and the camera form a stripe projection system. In the vicinity of the object a plurality of reference set-ups are arranged, which each include a plurality of reference marks. The reference set-ups initially are surveyed. Subsequently, the 3D coordinates of the object are determined by the stripe projection system.

From WO 2004/011876 A1 an apparatus according to the generic part of claim 8 is known. The apparatus comprises a projector for projecting a pattern onto the object, a camera for recording the object, and an evaluating means for evaluating the shots of the object. The apparatus furthermore comprises a projection means for projecting reference marks onto the object and a further camera for recording the reference marks.

From DE 195 36 297 A1 a method for the geometrical calibration of optical 3D sensors for the three-dimensional survey of objects is known, in which a pattern is projected onto the object and the light reflected by the object is recorded and evaluated by a camera. In the image field of the camera a calibration means with at least four calibrated and a plurality of further signal marks or reference marks is located, which are recorded by the camera.

From DE 10 2005 051 020 A1 a method for the three-dimensional digitization of bodies is known, in which a camera is moved around the body to be digitized. The body to be digitized is surrounded by a plurality of photogrammetrically evaluable marks. Around the body, a plurality of light pattern projectors furthermore are stationarily mounted, which are switched on one after the other.

US 2010/0092041 A1 discloses a method for determining the three-dimensional shape of an object, in which a pattern is projected onto the object and the light reflected by the object is captured and evaluated by a camera. The camera furthermore detects a reference mark beside the object.

SUMMARY OF THE INVENTION

It is the object of the invention to propose an improved method as indicated above and an improved apparatus as indicated above.

In a method as indicated above, this object is solved by the features herein. Reference marks on and/or beside the object are recorded by a reference camera. The reference camera has a larger field of view than the camera. The reference camera is connected with the camera or with a 3D sensor which comprises the projector and the camera. The reference marks can already be present on the object. In particular, characteristic regions of the object can be used as reference marks. Instead or in addition, reference marks can be mounted on the object and/or be positioned beside the object. In particular those reference marks can be used which are described in DE 10 2009 032 262 A1, to which reference is made here expressly. Thus, there can be used reference marks which are inherently coded and/or reference marks which are not inherently coded, but which are spatially arranged relative to each other such that this spatial arrangement includes a coding. Several reference marks can be combined to one or more reference set-ups.

It is possible to take several shots of the object with the camera. Several or all shots can overlap. Putting the individual shots together in a superordinate coordinate system can be effected by means of photogrammetry. For this purpose, the reference marks are surveyed by the reference camera.

In an apparatus as indicated above, the object of the invention is solved by the features herein. The apparatus comprises a reference camera for recording reference marks on and/or beside the object. The reference camera has a larger field of view than the camera. The reference camera is connected with the camera or with a 3D sensor which comprises the projector and the camera.

Preferably, a stripe pattern is projected onto the object. The pattern, in particular the stripe pattern, can be projected onto the object by an image-forming element, in particular by a transparency or by a digital pattern generator, in particular a liquid crystal display such as a DLP display, an LCD display and/or an LCOS display. Furthermore, it is possible to project a pattern onto the object, which consists of one or more laser lines. The laser lines can be oriented parallel to each other and/or at an angle to each other.

The camera can comprise an optical system and a planar sensor, in particular a CCD sensor and/or a CMOS sensor. The evaluating means can comprise or consist of a computer, in particular a PC.

The recorded shot data can be stored temporarily in a camera memory. They can be passed on before or after the temporary storage or without temporary storage.

The projector and the camera can be structurally integrated in a so-called 3D sensor. The 3D sensor comprises the projector and the camera.

The invention also provides for supplementing an existing apparatus for determining the 3D coordinates of an object according to the generic part of claim 8 in a simple way, in order to be able to determine the 3D coordinates of an object which is larger than the field of view of the camera with this apparatus. Furthermore, it is possible to provide several cameras. For example, a so-called stereo camera can be used, i.e. a combination of two cameras. It is, however, also possible to provide more than two cameras. By using more than one camera, the allocation of the image points recorded by the cameras to the projected lines can be improved.

Advantageous developments are described herein.

Advantageously, the reference marks are projected onto the object.

According to a further advantageous development, the shots of the camera and the shots of the reference camera are effected temporally offset. Instead or in addition, the shots of the camera and the shots of the reference camera can be effected at the same time.

Advantageously, several shots of the camera are put together. For putting the shots together, matching methods can be employed in addition.

A further advantageous development is characterized in that in a first measurement run the positions of the reference marks are detected and stored. The first measurement run can be carried out without surveying (determining the 3D coordinates) the object. It is, however, also possible to also survey an object in this first measurement run. The detected positions of the reference marks can be transformed into the superordinate coordinate system. The detected and/or transformed positions can be stored.

It may be advantageous when the 3D coordinates of an object are determined on the basis of stored positions of the reference marks. This is advantageous in particular when in a first measurement run the positions of the reference marks are detected and possibly transformed and stored. It is, however, also possible to determine the 3D coordinates of an object on the basis of positions of the reference marks which have already been stored. By using the stored positions of the reference marks, measurement time can be saved. It may, however, also be advantageous to newly determine the positions of the reference marks during a or each determination of the 3D coordinates of an object.

An advantageous development of the apparatus according to the invention is characterized by a projector for projecting the reference marks onto the object.

BRIEF DESCRIPTION OF THE DRAWINGS

An exemplary embodiment of the invention will be explained in detail below with reference to the attached drawing, in which:

FIG. 1 shows an apparatus for determining the 3D coordinates of an object with a projector, a camera and a reference camera, and

FIG. 2 shows a modified apparatus according to FIG. 1.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows an apparatus for determining the 3D coordinates of an object 1, namely a fender of a motor vehicle. The apparatus comprises a 3D sensor 2 which comprises a projector 3 and a camera 4. The apparatus furthermore comprises a reference camera 5 which is connected with the 3D sensor 2. In the exemplary embodiment, the reference camera 5 is located between the projector 3 and the camera 4.

A pattern, namely a stripe pattern 6, is projected onto the object 1 by the projector 3. The light reflected by the object 1 in the region of the stripe pattern 6 is captured by the camera 4.

The shot of the camera 4 is forwarded to an evaluating means (not shown in the drawing), by which it is evaluated. From the shot, the 3D coordinates of the object 1 can be determined in the field of view 7 of the camera 4. The contour 7′ of the stripe pattern 6 is larger than the field of view 7 of the camera 4. The contour 7′ encloses the field of view 7 on all sides. The camera 4 includes an area sensor which captures the object 1 preferably in the entire field of view 7 of the camera 4.

Onto the object 1 and the surroundings of the object 1 reference marks 8 are projected by a further projector (not shown in the drawing). The reference marks which are located within the field of view 9 of the reference camera 5 are captured by the reference camera 5.

The field of view 9 of the reference camera 5 is larger than the field of view 7 of the camera 4. Furthermore, the field of view 9 of the reference camera 5 encloses the field of view 7 of the camera 4 on all sides. The reference marks 8, which are located within its field of view 9, are picked up by the reference camera 5. The position and the orientation of the reference camera 5 can be determined therefrom.

After the part of the object 1, which is located within the field of view 7 of the camera 4, has been recorded by the camera 4, the apparatus comprising the projector 3, the camera 4 and the reference camera 5 is positioned at another point. This positioning is made such that the field of view 7 of the camera 4 is located at another point of the object 1, preferably at a point beside the original field of view 7. The field of view which the camera 4 covers in its new position can overlap with the original field of view 7 of the camera 4. Due to the fact that the field of view 9 of the reference camera 5 is larger than the field of view 7 of the camera 4, it is ensured that the reference camera 5 in the original position and in the new position can detect a sufficient number of reference marks 8. The number and the positions of the reference marks 8 are chosen such that a sufficient number of reference marks 8 is present, which the reference camera 5 can detect in both positions. In this way, a global registration of the shots of the camera 4 and hence of the 3D coordinates of the object 1 is ensured.

Due to the fact that the projector 2 which projects the stripe pattern 6 onto the object 1 is connected with the camera 4 and the reference camera 6, the stripe pattern 6 is moved along with a movement of the apparatus which comprises the projector 3, the camera 4 and the reference camera 5.

FIG. 2 shows an apparatus in which a projector 3′ is present, which projects laser lines 10 onto the object 1. Some laser lines 10 extend parallel to the long side of the field of view 7 of the camera 4. Further laser lines 10 extend parallel to the narrow side of the field of view 7 of the camera 4. A further laser line 10 extends at an angle to the edges of the field of view 7 of the camera 4.

The size of the field of view of the camera 4 and/or the reference camera 5 can be determined by the focal length of the associated optics. Instead or in addition, the field of view can be determined by the sensor size. The shots of the reference camera 5 can be transmitted to an evaluation system, in particular a PC. The 3D coordinates of the reference marks 8 can mathematically be calculated therefrom. In this way, photogrammetry points can be obtained. Subsequently, these photogrammetry points and the positions of the reference camera 5 and of the camera 4 calculated by the photogrammetry can be used for accurately aligning and registering the data, i.e. the 3D coordinates.

For determining the 3D coordinates of the object 1, the positions of the reference marks 8 can be detected and stored in a first measurement run. In a second measurement run, these positions then can be used for determining the 3D coordinates of the object 1. In further measurement runs they can be used for determining the 3D coordinates of the object 1 or for determining the 3D coordinates of further objects. 

1. A method for determining the 3D coordinates of an object (1), in which a pattern (6) is projected onto the object (1) by a projector (3), the light reflected by the object (1) is captured by a camera (4), and the shots recorded by the camera (4) are evaluated, and reference marks (8) on and/or beside the object (1) are recorded by a reference camera (5) which has a larger field of view (9) than the camera (4), and the reference camera (5) is connected with the camera (4) or with a 3D sensor (2) which comprises the projector (3) and the camera (4).
 2. The method according to claim 1, wherein the reference marks (8) are projected onto the object (1).
 3. The method according to claim 1, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected temporally offset.
 4. The method according to claim 1, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected at the same time.
 5. The method according to claim 1, wherein several shots of the camera (4) are put together.
 6. The method according to claim 1, wherein in a first measurement run the positions of the reference marks (8) are detected and stored.
 7. The method according to claim 1, wherein the 3D coordinates of an object (1) are determined on the basis of stored positions of the reference marks (8).
 8. An apparatus for determining the 3D coordinates of an object (1), in particular for carrying out the method according to claim 1, comprising a projector (3) for projecting a pattern (6) onto the object (1), a camera (4) for recording the object (1), an evaluating means for evaluating the shots of the object (1), and a reference camera (5) for recording reference marks (8) on and/or beside the object (1), which has a larger field of view (9) than the camera (4), wherein the reference camera (5) is connected with the camera (4) or with a 3D sensor (2) which comprises the projector (3) and the camera (4).
 9. The apparatus according to claim 8, comprising a projector for projecting the reference marks (8) onto the object (1).
 10. The method according to claim 2, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected temporally offset.
 11. The method according to claim 10, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected at the same time.
 12. The method according to claim 3, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected at the same time.
 13. The method according to claim 2, wherein the shots of the camera (4) and the shots of the reference camera (5) are effected at the same time.
 14. The method according to claim 13, wherein several shots of the camera (4) are put together.
 15. The method according to claim 12, wherein several shots of the camera (4) are put together.
 16. The method according to claim 11, wherein several shots of the camera (4) are put together.
 17. The method according to claim 10, wherein several shots of the camera (4) are put together.
 18. The method according to claim 4, wherein several shots of the camera (4) are put together.
 19. The method according to claim 3, wherein several shots of the camera (4) are put together.
 20. The method according to claim 2, wherein several shots of the camera (4) are put together. 